.csinfo {
  .csuser {
    width:100%;
    user-select: none;
    height: 50px;
    flex-basis: 50px;
    padding: 0 15px;
    display: flex;
    cursor: pointer;
    align-items: center; // justify-content: center;
    .csuser_info{
      display: flex;
      align-items: center;
      width:100%;
      cursor: pointer;
      -webkit-app-region: no-drag;
      position: relative;
    }
    .headpic {
      position: relative;
      width: 30px;
      height: 30px;
      border-radius: 50%;
      display: inline-block;
      font-size: 0px;
      box-shadow: 0 0 3px #666;
      flex-shrink: 0;
      &::after{
        content: "";
        display: block;width:8px;height:8px;position: absolute;
        bottom:0;right:0;border-radius: 50%;
      }
      &[type="1"]::after{
        background:rgb(0, 255, 0);
      }
      &[type="2"]::after{
        background:yellow;
      }
      &[type="3"]::after{
        background:red;
      }
      img {
        width: 30px;
        height: 30px;
        border-radius: 50%;
      }
      i {
        display: block;
        font-size: 0;
        position: absolute;
        width: 15px;
        height: 15px;
        border-radius: 50%;
        line-height: 14px;
        text-align: center;
        top: 0;
        right: -3px;
        &::before {
          font-size: 15px;
          background: #fff;
          border-radius: 50%;
        }
      }
    }
    .user_name {
      display: inline-block;
      vertical-align: top;
      cursor: pointer;
      flex-grow: 1;
      width: 0;
      padding: 0 0 0 8px;
      p{
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        margin:0;
        font-size:12px;
        line-height: 14px; 
      }
    }
    .right_icon{
      line-height: 30px;
      flex-basis: 20px;
      text-align: center;
      width:20px;
      font-size: 20px;
    }
    .dropdown{
      position: relative;
      position: absolute;
      top:100%;
      display: none;
      left:60%;
      transform: translateX(-50%);
      width:70%;
      box-shadow: 0 0 2px #959595;
      padding:5px 0;
      z-index: 999999;
      background:#fff;
      border-radius: 2px;
      &.active{
        display: block;
      }
      &::after{
        content: "";
        width:20px;height:100%;position: absolute;
        top:0;left:0;
        background:#e6e6e6;
        border-radius: 2px 0 0 2px;
      }
      .hr{
        margin-left: 20px;height:1px;background:#eee;
      }
      .item{
        margin-left: 20px;line-height: 23px;
        position: relative;
        padding:2px 10px;height:24px;
        p{
          overflow: hidden;
          white-space: nowrap;
          text-overflow: ellipsis;
        }
        &:hover{
          background:#eeeeee;
        }
        .icon{
          position: absolute;
          width:20px;height:20px;top:0;left:-20px;
          z-index: 22;line-height: 24px;text-align: center;
          font-size: 14px;
          &.icon1::before{
            background:#fff;border-radius:50%;
          }
        }
      }
    }
  }
}